<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <title>问题反馈</title>
    <meta charset="UTF-8"/>
    <link th:href="@{/css/shop.css}" type="text/css" rel="stylesheet" />
    <link th:href="@{/css/Sellerber.css}" type="text/css"  rel="stylesheet" />
    <link th:href="@{/css/bkg_ui.css}" type="text/css"  rel="stylesheet" />
    <link th:href="@{/font/css/font-awesome.min.css}"  rel="stylesheet" type="text/css" />
    <link th:href="@{/layui/css/layui.css}" rel="stylesheet" type="text/css" />
    <script th:src="@{/js/jquery-1.9.1.min.js}" type="text/javascript" ></script>
    <script th:src="@{/js/Validform/Validform.min.js}" type="text/javascript"></script>
    <script th:src="@{/js/jquery.cookie.js}" type="text/javascript"></script>
    <script th:src="@{/js/shopFrame.js}" type="text/javascript"></script>
    <script th:src="@{/js/Sellerber.js}" type="text/javascript"></script>
    <script th:src="@{/layui/layui.js}" type="text/javascript"></script>
    <script th:src="@{/js/layer/layer.js}" type="text/javascript"></script>
    <script th:src="@{/js/Backgroundjs/Question.js}" type="text/javascript"></script>

</head>
<body>
<form method="post" th:action="@{/questions/zengjia}">
    <div class="margin Competence_style" id="page_style">
        <div class="operation clearfix">
            <a href="javascript:void(0)" id="Question_add"  class="btn button_btn bg-deep-blue" shiro:hasPermission="user:addReply"><i class="fa  fa-edit"></i>&nbsp;回复问题</a>
        </div>
    </div>
    <!-- 添加类别操作-->
    <div id="add" class=" add_administrator" style="display:none">
        <div class="add_style add_administrator_style">
            <form method="post" id="form-city-add" th:action="/questions/aa">
                <ul>
                    <li class="clearfix">
                        <label class="label_name col-xs-2 col-lg-2"><i>*</i>问题</label>
                        <div class="formControls col-xs-6">
                            <input type="text" class="input-text col-xs-12" value="" placeholder="问题不能为空" name="questioncontent" datatype="*2-16" nullmsg="问题不能为空"></div>
                        <div class="col-4"> <span class="Validform_checktip"></span></div>
                    </li>
                    <li class="clearfix">
                        <label class="label_name col-xs-2 col-lg-2"><i>*</i>回复内容</label>
                        <div class="formControls col-xs-6">
                            <input type="text" class="input-text col-xs-12" value="" placeholder="回复不能为空" name="replycontent" datatype="*2-16" nullmsg="回复内容不能为空"></div>
                        <div class="col-4"> <span class="Validform_checktip"></span></div>
                    </li>
                    <li>
                        <div class="form-group">
                            <div class="clearfix col-xs-12 col-lg-12 align">
                                <input class="btn button_btn bg-deep-blue btn_height" type="submit" value="提交添加">
                                <input name="reset" type="reset" class="btn button_btn btn-infobtn-gray btn_height" value="取消重置" />
                            </div>
                        </div>
                        <div class="col-4"> <span class="Validform_checktip"></span></div>
                    </li>
                </ul>
            </form>
        </div>
    </div>
    <div class="compete_list">
        <table id="sample_table" class="table table_list table_striped table-bordered dataTable no-footer">
            <thead>
            <tr id="tr">
                <th>问题I1D</th>
                <th>问题</th>
                <th>时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="question:${questionList}">
                <td th:text="${question.questionid}"></td>
                <td th:text="${question.questioncontent}"></td>
                <td  th:text="${question.feedbackTime}"></td>
                <td><a th:href="@{/questions/aa(id=${question.questionid})}"  id="del"  href='javascript:;' title='删除' class='btn btn-xs btn-danger' >删除</a></td>
            </tr>
            </tbody>
        </table>

    </div>
</form>
</body>
</html>
